package edu.pucsp.predatorprey.tela;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JPanel;

public class PainelInteracaoUsuario extends JPanel {

	private final PainelOpcoes painelOpcoes;

	private final PainelInformacoes painelInformacoes;

	public PainelInteracaoUsuario(PainelOpcoes painelOpcoes, PainelInformacoes painelInformacoes) {
		this.painelOpcoes = painelOpcoes;
		this.painelInformacoes = painelInformacoes;
		this.initComponents();
	}

	private void initComponents() {
		this.setLayout(new BorderLayout());
		this.setPreferredSize(new Dimension(300, 600));
		this.add(this.painelOpcoes, BorderLayout.NORTH);
		this.add(this.painelInformacoes, BorderLayout.CENTER);
	}

}
